export default function getData() {
  return {
    tooltip: {
      trigger: 'item',
      axisPointer: { // 坐标轴指示器，坐标轴触发有效
        type: 'line' // 默认为直线，可选为：'line' | 'shadow'
      }
    },
    legend: {
      data: ['其他任务', '油田同步', '主数据'],
      itemWidth: 8,
      bottom: 10,
      itemGap: 15,
      itemHeight: 8,
      textStyle: {
        color: '#999'
      }
    },
    grid: {
      left: 20,
      top: 20,
      right: 20,
      bottom: 40,
      containLabel: true
    },
    color: ['#3890df', '#49dd8a', '#49565f', '#6e7074', '#546570', '#c4ccd3'],
    yAxis: {
      type: 'value',
      axisLine: {
        show: false
      },
      axisLabel: {
        color: '#999'
      },
      axisTick: {
        show: false
      },
      splitLine: {
        lineStyle: {
          type: 'dotted'
        }
      }
    },
    xAxis: {
      type: 'category',
      axisLine: {
        show: false
      },
      axisLabel: {
        color: '#999'
      },
      axisTick: {
        show: false
      },
      data: ['成功', '不成功', '未执行']
    },
    series: [
      {
        name: '油田同步',
        type: 'bar',
        stack: '总量',
        label: {
          normal: {
            show: false
          }
        },
        data: [320, 0, 0]
      },
      {
        name: '主数据',
        type: 'bar',
        stack: '总量',
        label: {
          normal: {
            show: false
          }
        },
        data: [220, 182, 191]
      },
      {
        name: '其他任务',
        type: 'bar',
        stack: '总量',
        barWidth: 16,
        label: {
          normal: {
            show: false
          }
        },
        data: [320, 0, 0]
      }
    ]
  }
}
